package com.sunhao.blog.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import javafx.fxml.LoadException;
import lombok.Data;

import java.time.LocalDateTime;


@Data
@TableName("t_user_auth")
public class UserAuth {

    @TableId("id")
    private Integer id;

    @TableField("user_info_id")
    private Integer userInfoId;

    @TableField("username")
    private String username;

    @TableField("password")
    private String password;

    @TableField("login_type")
    private String loginType;

    @TableField("ip_address")
    private String ipAddress;

    @TableField("ip_source")
    private String ipSource;

    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("update_time")
    private LocalDateTime updateTime;

    @TableField("last_login_time")
    private LocalDateTime lastLoginTime;


}
